Added missing javascript