Fix javascript load