Finished up js for the explorer page