modify js content