external app js