Added all JS dependencies to head

Signed-off-by: George Old <george.old@anmedia.co.uk>