Implementing custom JS into Plone based Project

Look at this thread and in particular to my answer