force the debug to false if not defined
fix html
avoid using generic top element, insert it only at index
avoid error if file is not found
boostrap use jquery (dependency)
fix error handler
it's ready !!