Flexgrid 1.4 in javascript

Switched the equal heights function to javascript so it runs 6 times
faster.