Added security and corrected javascript file that was missing from b ootstrap