Made prime.simple() faster

Improved the speed of prime.simple().
I wrote an optimized version of prime.simple() a while back to help someone of stackexchange.
I believe the code could benefit this project.
Source: http://codereview.stackexchange.com/questions/15240/simple-trial-division-in-javascript