cleaned up star_wars.js using jquery