Document loading compiled JS also