Convert bootstrap2 and bootstrap3 themes to native javascript.