fix javascript name problem