plus jquery, reorganized script.js