fix javascript9