Moved Java Calls to End of Page