added hooks for conditional compatibility code load
fixed bug on deprecated global version variable
updated languages and minified js files