working without jquery