javascript line fix