Rewrite casting and coercion, naming, jQuery and modules