A Javscript-based adaptive user-defined solar system simulator