added bower, js bug fix