linked the links and app js files together