local js files rather than depending on hosts