Added missing javascript call