move id selectors to js