Encapsulating javascript via bare property
Adding initial file loading