Better/smoother terrain generator. Modularized with require.js