Added JavaScript block back