fixed homejs issue