javascript in place