Version flexible compilation

This pull request allows version flexible compilation, getting the CanJS version from the website resources.