Add Multiple Bamboo Support / Optimize JS