add javascript by inline command