Javascript performance improvements, closes #185
Merge pull request #196 from MediaCrush/performance

Javascript performance improvements, closes #185