merge another bit of js into a separate file