started adding some test javascript code to run when device loads