Using em/select instead of refering to js/document all over the place