Removed AI.js, fixed random.js

Sublime deleted too many parentheses in my random.js beautification.
More small beautifications.