javascript library issue fixed