JS Loading fix

PHP caused error due to leading /

Signed-off-by: Matthew Rayner <matt@mattrayner.co.uk>