Create pushd.js

Javascript version of pushd.js