adding custom js to classes