updated action.js 2014-11-22 By MACZ