Added JavaScript version