added form submit, configs work for npm and bower