Changed register to use bootstrap and javascript