More little fixes on solution.js