Proposed solutions to Javascript Challenges