changes to reflect modular js