remove border for debug and create javascript