Moved playlist javascript to its own file.  Added disabling play button if the playlist is empty.