Created JavaScript plugin