Update ps-responsive.js

code cleanup