Added Javascript helper to get JS loaded