import js from separate resources to reduce redundant byte transfers