fix dependency js code included