updating to push some common operations from javascript to html