bootstrap3 compatible JS + demo updated to reflect bootstrap3