JavaScript: Random From To