version compare function
version_check
using RequireJS