Attempted fixes to classpath

Changes to class path javascript to load variables. currently not
setting variables due to code igniter views not resetting javascript or
calling javascript functions.