* fix js issues