javascript organization style updates