small styling fixes
small changes to js file