began adding javascript back in