Move external JS out of bundle