added js defaults