fixed bug of js module