modified jquery-py.js