add resource using bower and tweak the scripts