My very own attempt at a Javascript framework