fixed javascript library for test