Auto load of JS files
isConstant method to check if parameter belongs to class constant