separate js

Signed-off-by: Richard Ellis <info@lookstechnical.co.uk>