broke up customer javascript and starting on issue #52