trying mixed jQuery and JS for effects