updated javascript

added more shame.