removed module pattern from js