Adding better javascript support.