Now with added js applicationish stuff.