add javascript line style