Fixed documentation and added Enum-based loadJS method...