Add compiled assets
Tidy up the code