Split JavaScript out, README wrapping