fix javascript lib problem