Thrashing to get Javascript compiled and loaded