added front-end ajax with browserify