Fixed missing JS issues